LL CRS APIs listing for migration

There are a few API changes in the LL layer. This page lists only the modified LL APIs. Others not listed here are unchanged between HAL1 and HAL2.

LL CRS macros

HAL1

series

HAL2

LL_CRS_WriteReg

u5, c0, h5, l4, g0, g4, h7

LL_CRS_WRITE_REG

LL_CRS_ReadReg

u5, c0, h5, l4, g0, g4, h7

LL_CRS_READ_REG

__LL_CRS_CALC_CALCULATE_RELOADVALUE

u5, c0, h5, l4, g0, g4, h7

LL_CRS_CALCULATE_RELOAD

LL CRS functions

HAL1

series

HAL2

Refer to

LL_CRS_DeInit

u5, c0, h5, l4, g0, g4, h7

Removed / sequence changed

Refer to

LL_CRS_ClearFlag_ERR

u5, c0, h5, l4, g0, g4, h7

LL_CRS_ClearFlag_ERR

LL_CRS_ClearFlag_ESYNC

u5, c0, h5, l4, g0, g4, h7

LL_CRS_ClearFlag_ESYNC

LL_CRS_ClearFlag_SYNCOK

u5, c0, h5, l4, g0, g4, h7

LL_CRS_ClearFlag_SYNCOK

LL_CRS_ClearFlag_SYNCWARN

u5, c0, h5, l4, g0, g4, h7

LL_CRS_ClearFlag_SYNCWARN

LL_CRS_ConfigSynchronization

u5, c0, h5, l4, g0, g4, h7

LL_CRS_ConfigSynchronization

LL_CRS_DisableAutoTrimming

u5, c0, h5, l4, g0, g4, h7

LL_CRS_DisableAutoTrimming

LL_CRS_DisableFreqErrorCounter

u5, c0, h5, l4, g0, g4, h7

LL_CRS_DisableFreqErrorCounter

LL_CRS_DisableIT_ERR

u5, c0, h5, l4, g0, g4, h7

LL_CRS_DisableIT_ERR

LL_CRS_DisableIT_ESYNC

u5, c0, h5, l4, g0, g4, h7

LL_CRS_DisableIT_ESYNC

LL_CRS_DisableIT_SYNCOK

u5, c0, h5, l4, g0, g4, h7

LL_CRS_DisableIT_SYNCOK

LL_CRS_DisableIT_SYNCWARN

u5, c0, h5, l4, g0, g4, h7

LL_CRS_DisableIT_SYNCWARN

LL_CRS_EnableAutoTrimming

u5, c0, h5, l4, g0, g4, h7

LL_CRS_EnableAutoTrimming

LL_CRS_EnableFreqErrorCounter

u5, c0, h5, l4, g0, g4, h7

LL_CRS_EnableFreqErrorCounter

LL_CRS_EnableIT_ERR

u5, c0, h5, l4, g0, g4, h7

LL_CRS_EnableIT_ERR

LL_CRS_EnableIT_ESYNC

u5, c0, h5, l4, g0, g4, h7

LL_CRS_EnableIT_ESYNC

LL_CRS_EnableIT_SYNCOK

u5, c0, h5, l4, g0, g4, h7

LL_CRS_EnableIT_SYNCOK

LL_CRS_EnableIT_SYNCWARN

u5, c0, h5, l4, g0, g4, h7

LL_CRS_EnableIT_SYNCWARN

LL_CRS_GenerateEvent_SWSYNC

u5, c0, h5, l4, g0, g4, h7

LL_CRS_GenerateEvent_SWSYNC

LL_CRS_GetFreqErrorCapture

u5, c0, h5, l4, g0, g4, h7

LL_CRS_GetFreqErrorCapture

LL_CRS_GetFreqErrorDirection

u5, c0, h5, l4, g0, g4, h7

LL_CRS_GetFreqErrorDirection

LL_CRS_GetFreqErrorLimit

u5, c0, h5, l4, g0, g4, h7

LL_CRS_GetFreqErrorLimit

LL_CRS_GetHSI48SmoothTrimming

u5, c0, h5, l4, g0, g4, h7

LL_CRS_GetHSI48SmoothTrimming

LL_CRS_GetReloadCounter

u5, c0, h5, l4, g0, g4, h7

LL_CRS_GetReloadCounter

LL_CRS_GetSyncDivider

u5, c0, h5, l4, g0, g4, h7

LL_CRS_GetSyncDivider

LL_CRS_GetSyncPolarity

u5, c0, h5, l4, g0, g4, h7

LL_CRS_GetSyncPolarity

LL_CRS_GetSyncSignalSource

u5, c0, h5, l4, g0, g4, h7

LL_CRS_GetSyncSignalSource

LL_CRS_IsActiveFlag_ERR

u5, c0, h5, l4, g0, g4, h7

LL_CRS_IsActiveFlag_ERR

LL_CRS_IsActiveFlag_ESYNC

u5, c0, h5, l4, g0, g4, h7

LL_CRS_IsActiveFlag_ESYNC

LL_CRS_IsActiveFlag_SYNCERR

u5, c0, h5, l4, g0, g4, h7

LL_CRS_IsActiveFlag_SYNCERR

LL_CRS_IsActiveFlag_SYNCMISS

u5, c0, h5, l4, g0, g4, h7

LL_CRS_IsActiveFlag_SYNCMISS

LL_CRS_IsActiveFlag_SYNCOK

u5, c0, h5, l4, g0, g4, h7

LL_CRS_IsActiveFlag_SYNCOK

LL_CRS_IsActiveFlag_SYNCWARN

u5, c0, h5, l4, g0, g4, h7

LL_CRS_IsActiveFlag_SYNCWARN

LL_CRS_IsActiveFlag_TRIMOVF

u5, c0, h5, l4, g0, g4, h7

LL_CRS_IsActiveFlag_TRIMOVF

LL_CRS_IsEnabledAutoTrimming

u5, c0, h5, l4, g0, g4, h7

LL_CRS_IsEnabledAutoTrimming

LL_CRS_IsEnabledFreqErrorCounter

u5, c0, h5, l4, g0, g4, h7

LL_CRS_IsEnabledFreqErrorCounter

LL_CRS_IsEnabledIT_ERR

u5, c0, h5, l4, g0, g4, h7

LL_CRS_IsEnabledIT_ERR

LL_CRS_IsEnabledIT_ESYNC

u5, c0, h5, l4, g0, g4, h7

LL_CRS_IsEnabledIT_ESYNC

LL_CRS_IsEnabledIT_SYNCOK

u5, c0, h5, l4, g0, g4, h7

LL_CRS_IsEnabledIT_SYNCOK

LL_CRS_IsEnabledIT_SYNCWARN

u5, c0, h5, l4, g0, g4, h7

LL_CRS_IsEnabledIT_SYNCWARN

LL_CRS_SetFreqErrorLimit

u5, c0, h5, l4, g0, g4, h7

LL_CRS_SetFreqErrorLimit

LL_CRS_SetHSI48SmoothTrimming

u5, c0, h5, l4, g0, g4, h7

LL_CRS_SetHSI48SmoothTrimming

LL_CRS_SetReloadCounter

u5, c0, h5, l4, g0, g4, h7

LL_CRS_SetReloadCounter

LL_CRS_SetSyncDivider

u5, c0, h5, l4, g0, g4, h7

LL_CRS_SetSyncDivider

LL_CRS_SetSyncPolarity

u5, c0, h5, l4, g0, g4, h7

LL_CRS_SetSyncPolarity

LL_CRS_SetSyncSignalSource

u5, c0, h5, l4, g0, g4, h7

LL_CRS_SetSyncSignalSource